package system

import "gostore/dao"

type PolicyDaoT struct {
	dao.DaoT
}

var PolicyDao = PolicyDaoT{}

func (PolicyDaoT) LoadAll(list interface{}) error {
	return dao.GetDB().Find(list).Error
}
